<?php
/**
 * Enter description here ...
 * @author NgoAnhTu
 * @date 2013-10-15
 * @table(albums)
 */
final class Album extends Entity {
		
	/**
	 * Name of Album
	 * @unique(true)
	 * @column(Name)
	 * @type(string)
	 */
	public $name;
		
	/**
	 * Image of Album
	 * @column(Image)
	 * @type(string)
	 */
	public $image;

	/**
	 * Active status of Album
	 * @column(Active)
	 * @type(number)
	 */
	public $active;
	
	/**
	 * Visit time status of Album
	 * @column(Visit)
	 * @type(number)
	 */
	public $visit;
	
	public $details = array();
	
	/**
	 * Constructor
	 * @param integer $id
	 * @param string $name
	 * @param string $image
	 * @param integer $active
	 * @param integer $visit
	 */
	public function Album($id = 0, $name = '', $image = '', $active = 0, $visit = 0) {
		$this->id = $id;
		$this->name = $name;
		$this->image = $image;
		$this->active = $active;
		$this->visit = $visit;
	}
	
}
?>